<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <link rel="stylesheet" type="text/css" href="/Public/Admin/styles/xiaomi-user.css"/>
</head>
<body>
    <div id="outside">
        <button id="addUser" onclick="location='/Index/addUser'">添加用户</button>
        <table>
            <tr>
                <td>ID</td>
                <td>User</td>
                <td>Password</td>
                <td>操作</td>
            </tr>
            <foreach name="list" item="vo">
                <tr>
                    <td>{$vo.id}</td>
                    <td>{$vo.username}</td>
                    <td>{$vo.password}</td>
                    <td><a href="{:U('Index/deleuser',array('id'=>$vo['id']))}">删除</a></td>
                </tr>
            </foreach>
        </table>
        {$page}
    </div>
</body>
</html>